home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 570 / include / types.h < prev   
C/C++ Source or Header  |  1990-11-15  |  888b  |  32 lines

  1. /*
  2.  *    TYPES.H
  3.  */
  4.  
  5. #ifndef    TYPES_H
  6. #define    TYPES_H
  7.  
  8. #ifndef VOID
  9. #define    VOID    void
  10. #endif
  11.  
  12. typedef    unsigned char    BYTE;        /* 8-bit unsigned */
  13. typedef    unsigned int    WORD;        /* 16-bit unsigned */
  14. typedef    unsigned long    LONG;        /* 32-bit unsigned */
  15.  
  16. typedef    unsigned char    uchar;        /* 8-bit unsigned */
  17. typedef    unsigned short    ushort;        /* 16-bit unsigned */
  18. typedef    unsigned int    uint;        /* 16-bit unsigned */
  19. typedef    unsigned long    ulong;        /* 32-bit unsigned */
  20.  
  21. typedef    unsigned char    u_char;        /* 8-bit unsigned */
  22. typedef    unsigned short    u_short;    /* 16-bit unsigned */
  23. typedef    unsigned int    u_int;        /* 16-bit unsigned */
  24. typedef    unsigned long    u_long;        /* 32-bit unsigned */
  25.  
  26. typedef    unsigned char    dev_t;        /* device (drive) id */
  27. typedef    unsigned long    fpos_t;        /* file position offset */
  28. typedef    unsigned long    time_t;        /* raw date/time */
  29. typedef    long        clock_t;    /* 200Hz clock ticks */
  30.  
  31. #endif TYPES_H
  32.